(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

active(and(tt, X)) → mark(X)
active(plus(N, 0)) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0) → ok(0)
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Rewrite Strategy: FULL

(1) RenamingProof (EQUIVALENT transformation)

Renamed function symbols to avoid clashes with predefined symbol.

(2) Obligation:

Runtime Complexity Relative TRS:
The TRS R consists of the following rules:

active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

S is empty.
Rewrite Strategy: FULL

(3) TypeInferenceProof (BOTH BOUNDS(ID, ID) transformation)

Infered types.

(4) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

(5) OrderProof (LOWER BOUND(ID) transformation)

Heuristically decided to analyse the following defined symbols:
active, s, plus, and, proper, top

They will be analysed ascendingly in the following order:
s < active
plus < active
and < active
active < top
s < proper
plus < proper
and < proper
proper < top

(6) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

The following defined symbols remain to be analysed:
s, active, plus, and, proper, top

They will be analysed ascendingly in the following order:
s < active
plus < active
and < active
active < top
s < proper
plus < proper
and < proper
proper < top

(7) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

Induction Base:
s(gen_tt:mark:0':ok3_0(+(1, 0)))

Induction Step:
s(gen_tt:mark:0':ok3_0(+(1, +(n5_0, 1)))) →RΩ(1)
mark(s(gen_tt:mark:0':ok3_0(+(1, n5_0)))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(8) Complex Obligation (BEST)

(9) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

The following defined symbols remain to be analysed:
plus, active, and, proper, top

They will be analysed ascendingly in the following order:
plus < active
and < active
active < top
plus < proper
and < proper
proper < top

(10) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)

Induction Base:
plus(gen_tt:mark:0':ok3_0(+(1, 0)), gen_tt:mark:0':ok3_0(b))

Induction Step:
plus(gen_tt:mark:0':ok3_0(+(1, +(n335_0, 1))), gen_tt:mark:0':ok3_0(b)) →RΩ(1)
mark(plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(11) Complex Obligation (BEST)

(12) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

The following defined symbols remain to be analysed:
and, active, proper, top

They will be analysed ascendingly in the following order:
and < active
active < top
and < proper
proper < top

(13) RewriteLemmaProof (LOWER BOUND(ID) transformation)

Proved the following rewrite lemma:
and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n15290)

Induction Base:
and(gen_tt:mark:0':ok3_0(+(1, 0)), gen_tt:mark:0':ok3_0(b))

Induction Step:
and(gen_tt:mark:0':ok3_0(+(1, +(n1529_0, 1))), gen_tt:mark:0':ok3_0(b)) →RΩ(1)
mark(and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b))) →IH
mark(*4_0)

We have rt ∈ Ω(n1) and sz ∈ O(n). Thus, we have ircR ∈ Ω(n).

(14) Complex Obligation (BEST)

(15) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)
and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n15290)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

The following defined symbols remain to be analysed:
active, proper, top

They will be analysed ascendingly in the following order:
active < top
proper < top

(16) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol active.

(17) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)
and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n15290)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

The following defined symbols remain to be analysed:
proper, top

They will be analysed ascendingly in the following order:
proper < top

(18) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol proper.

(19) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)
and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n15290)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

The following defined symbols remain to be analysed:
top

(20) NoRewriteLemmaProof (LOWER BOUND(ID) transformation)

Could not prove a rewrite lemma for the defined symbol top.

(21) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)
and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n15290)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

No more defined symbols left to analyse.

(22) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

(23) BOUNDS(n^1, INF)

(24) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)
and(gen_tt:mark:0':ok3_0(+(1, n1529_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n15290)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

No more defined symbols left to analyse.

(25) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

(26) BOUNDS(n^1, INF)

(27) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)
plus(gen_tt:mark:0':ok3_0(+(1, n335_0)), gen_tt:mark:0':ok3_0(b)) → *4_0, rt ∈ Ω(n3350)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

No more defined symbols left to analyse.

(28) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

(29) BOUNDS(n^1, INF)

(30) Obligation:

TRS:
Rules:
active(and(tt, X)) → mark(X)
active(plus(N, 0')) → mark(N)
active(plus(N, s(M))) → mark(s(plus(N, M)))
active(and(X1, X2)) → and(active(X1), X2)
active(plus(X1, X2)) → plus(active(X1), X2)
active(plus(X1, X2)) → plus(X1, active(X2))
active(s(X)) → s(active(X))
and(mark(X1), X2) → mark(and(X1, X2))
plus(mark(X1), X2) → mark(plus(X1, X2))
plus(X1, mark(X2)) → mark(plus(X1, X2))
s(mark(X)) → mark(s(X))
proper(and(X1, X2)) → and(proper(X1), proper(X2))
proper(tt) → ok(tt)
proper(plus(X1, X2)) → plus(proper(X1), proper(X2))
proper(0') → ok(0')
proper(s(X)) → s(proper(X))
and(ok(X1), ok(X2)) → ok(and(X1, X2))
plus(ok(X1), ok(X2)) → ok(plus(X1, X2))
s(ok(X)) → ok(s(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Types:
active :: tt:mark:0':ok → tt:mark:0':ok
and :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
tt :: tt:mark:0':ok
mark :: tt:mark:0':ok → tt:mark:0':ok
plus :: tt:mark:0':ok → tt:mark:0':ok → tt:mark:0':ok
0' :: tt:mark:0':ok
s :: tt:mark:0':ok → tt:mark:0':ok
proper :: tt:mark:0':ok → tt:mark:0':ok
ok :: tt:mark:0':ok → tt:mark:0':ok
top :: tt:mark:0':ok → top
hole_tt:mark:0':ok1_0 :: tt:mark:0':ok
hole_top2_0 :: top
gen_tt:mark:0':ok3_0 :: Nat → tt:mark:0':ok

Lemmas:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

Generator Equations:
gen_tt:mark:0':ok3_0(0) ⇔ tt
gen_tt:mark:0':ok3_0(+(x, 1)) ⇔ mark(gen_tt:mark:0':ok3_0(x))

No more defined symbols left to analyse.

(31) LowerBoundsProof (EQUIVALENT transformation)

The lowerbound Ω(n1) was proven with the following lemma:
s(gen_tt:mark:0':ok3_0(+(1, n5_0))) → *4_0, rt ∈ Ω(n50)

(32) BOUNDS(n^1, INF)